Homework 9: Greenfoot reading II

CS 110 • 10 Points Total
Due on-line Mon. Apr. 9, 2018

Assignment

Read chapters 2-3 in the Greenfoot textbook. Answer the following questions - type or neatly write your answers. Repeat the questions being answered, then answer the questions. (2 pts each)
  1. Describe briefly what this code is used for in the crab scenario: "static boolean isKeyDown (String key)"

  2. Where (when running Greenfoot) do you find the description of the Greenfoot method "atWorldEdge ()"

  3. Calling a method with a "void return type" does what?

  4. What is the notation called when you see something like this: "Greenfoot.getRandomNumber(20)"?

  5. Compare adding sound effects to an Alice program to how you would do that in Greenfoot. Specicially state any similarities or differences.

Type your name, "CS 110 HW9: Greenfoot reading II", and the date completed --- at the top of your paper and upload into Blackboard Learn by the due date. Remember the filenaming convention of Lastname_Firstname_HW9.docx or something similar.